package com.ruoyi.common.utils;

import com.ruoyi.common.json.JSON;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.redis.core.RedisTemplate;
import org.springframework.data.redis.core.StringRedisTemplate;
import org.springframework.stereotype.Component;

/**
 * @ProjectName: ruoyi
 * @ClassName: RedisUtils
 * @Description:
 * @Author: @Abeiv
 * @Date: 2020-2-27 14:35
 */
@Component
public class RedisUtils {
    /**
     * 日志记录
     */
    private static final Logger LOG = LoggerFactory.getLogger(RedisUtils.class);
    /**
     * redis 连接池，这里jedisPool我们再之前spring配置中配置好了，交给spring管理，这里可以自动注入
     */
    @Autowired
    private RedisTemplate redisTemplate;

//    @Autowired
//    private IDdOrderService
//    //
//    public void selectUnOrder(){
//
//    }

}